package com.xncoding.design.proAcus.demo2;

import java.util.Observable;
import java.util.Observer;
/**
 * java自带观察者
 */
public class javaObserver2 implements Observer {

	@Override
	public void update(Observable o, Object arg) {
		System.out.println("用户2接收到数据" + arg.toString());
	}

}
